//
//  AppDelegate.swift
//  live
//
//  Created by melvyn on 2018/8/9.
//  Copyright © 2018年 NEET. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.

        UILabel.swizzling()
        UITextField.swizzling()

        setupAppearance()
        
        return true
    }
    
    private func setupAppearance() {
        
        UIBarButtonItem.appearance()
            .setTitleTextAttributes([.font : UIFont.systemFont(ofSize: 15), .foregroundColor : UIColor.black], for: .normal)
    }
}
